
var ip = 'http://192.168.120.22:9999/UniReport/';
// var ip = '/'
var api = {}

api.login = ip+ 'api/users/login'; // 登录接口
api.platformRequestInfoAll = ip+ 'api/platformRequestInfo/all'; // 电子申请单列表查询接口
api.platformRequestInfo = ip+ 'api/platformRequestInfo/'; // 合并申请单查询
api.reservationInitInfo = ip + 'api/platformRequestInfo/reservationInitInfo'; //登记页面初始化信息
api.getPatientIdByThirdPatientID = ip+'api/patients/getPatientIdByThirdPatientID';//根据his病人号获取ris的patientId
api.release = ip+'api/patients/release';//取消时调用解除占用patientId接口

api.hospital = ip + 'api/dict/hospital/all'; //开单医院
api.reqDept = ip + 'api/dict/reqDept/all'; //开单科室
api.reqDoctor = ip + 'api/dict/reqDoctor/all'; //开单医师


api.checkDept = ip + 'api/dict/checkDept/all'; //检查科室
api.checkType = ip + 'api/dict/checkType/all'; //检查类型
api.checkModality = ip + 'api/dict/checkModality/all'; //检查设备

api.examPartAndMethod = ip + 'api/dict/examPartAndMethod/all'; //检查部位/方法

api.pinYin = ip +'api/dict/patientName/pinYin'; // 汉字转拼音

api.patients = ip + 'api/patients/patientInfo';// 新增或修改患者信息
api.requestInfo = ip+ 'api/request/requestInfo';//保存申请单信息

export {api}